// Created by Joe on 2017/7/20.

app.service(
    'ExitEntryService',
    [
        'RequestProxyService',
        function (RequestProxyService) {
            return {
                getExitEntryInfo: RequestProxyService.requestProxy('/app/getExitEntryBorderInfo', {}, {},
                    function (resolve, info) {
                        resolve({
                            num: info.result[0],
                            updateTime: info.server.time
                        });
                    })
            };
        }
    ]
);